package com.choosefine.it.team.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * Comments：班组合作商家信息
 * Author：maojun
 * Create Date：2017/2/17
 * Modified By：
 * Modified Date：
 * Why & What is modified：
 * Version：v1.0
 */
@ApiModel(value = "班组合作商家信息",description = "毛俊")
public class TeamCooperateBus {
    @ApiModelProperty(value = "唯一id",dataType = "int")
    private Integer id;

    @ApiModelProperty(value = "合作商家租户编号",dataType = "String")
    private String userCode;

    @ApiModelProperty(value = "项目编号",dataType = "String",required = true)
    private String projectCode;

    @ApiModelProperty(value = "企业名称",dataType = "String")
    private String companyName;

    @ApiModelProperty(value = "法定代表人",dataType = "String")
    private String corporation;

    @ApiModelProperty(value = "分包单位id",dataType = "String")
    private Integer affiliatedUnitId;

    @ApiModelProperty(value = "分包单位名称",dataType = "String")
    private String affiliatedUnitName;

    @ApiModelProperty(value = "租户角色(0:全部；1:材料供应商；2:设施供应商；3:设备供应商)",dataType = "int")
    private Integer tenantRole;

    @ApiModelProperty(value = "是否有效",dataType = "String")
    private Integer isValid;

    @ApiModelProperty(value = "创建时间",dataType = "Long")
    private Long ctime;

    @ApiModelProperty(value = "更新时间",dataType = "Long")
    private Long utime;

    @ApiModelProperty(value = "单位类型",dataType = "String")
    private Integer companyType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCorporation() {
        return corporation;
    }

    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    public Integer getAffiliatedUnitId() {
        return affiliatedUnitId;
    }

    public void setAffiliatedUnitId(Integer affiliatedUnitId) {
        this.affiliatedUnitId = affiliatedUnitId;
    }

    public String getAffiliatedUnitName() {
        return affiliatedUnitName;
    }

    public void setAffiliatedUnitName(String affiliatedUnitName) {
        this.affiliatedUnitName = affiliatedUnitName;
    }

    public Integer getTenantRole() {
        return tenantRole;
    }

    public void setTenantRole(Integer tenantRole) {
        this.tenantRole = tenantRole;
    }

    public Integer getCompanyType() {
        return companyType;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }

    public Long getCtime() {
        return ctime;
    }

    public void setCtime(Long ctime) {
        this.ctime = ctime;
    }

    public Long getUtime() {
        return utime;
    }

    public void setUtime(Long utime) {
        this.utime = utime;
    }

    public void setCompanyType(Integer companyType) {
        this.companyType = companyType;
    }
}